package com.a.ims.mapper;

import com.a.ims.entity.Card;
import com.a.ims.entity.CardSelect;
import com.a.ims.entity.Cardmate;
import org.apache.ibatis.annotations.*;

import java.util.Date;
import java.util.List;

@Mapper
public interface CardMapper {
    //搜索卡片
    public List<Card> selectCard(CardSelect cardSelect);
    //新增卡片
    public int insertCard(Card card);
    //删除卡片
    public int deleteCard(Integer cardId);
    //更新卡片销售状态
    public int toggleSaleStatus(Card card);
    //获取卡片种类
    public List<Cardmate> selectCardmate(Cardmate cardmate);
    //获取仓库名
    public List<String> selectWarehouseName(String warehouseName);
}
